projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b299f17
)
Fix syntax descriptor comparison in python-indent-region
author
Andrea Corallo
<akrl@sdf.org>
Mon, 9 May 2022 13:53:45 +0000
(15:53 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Tue, 10 May 2022 01:46:43 +0000
(
03:46
+0200)
* lisp/progmodes/python.el (python-indent-region): Compare raw
syntax descriptors with equal (bug#45328) (because comparing them with
eq will always be false).
lisp/progmodes/python.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/python.el
b/lisp/progmodes/python.el
index 825e94572a76a316de6e5a377f69705881c1474a..cb4be10f5ccfebf94c70747063bcdf244e39df39 100644
(file)
--- a/
lisp/progmodes/python.el
+++ b/
lisp/progmodes/python.el
@@
-1297,7
+1297,7
@@
Called from a program, START and END specify the region to indent."
;; Don't mess with strings, unless it's the
;; enclosing set of quotes or a docstring.
(or (not (python-syntax-context 'string))
- (eq
+ (eq
ual
(syntax-after
(+ (1- (point))
(current-indentation)